package com.Logistics.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("pd_auth_menu")
public class Menu  implements Serializable {
    private String id;
    private String name;//菜单名称
    private String describe_;//功能描述
    private Integer is_public;//是否公开菜单就是无需分配就可以访问的。所有人可见
    private String path;//对应路由path
    private String component;//对应路由组件component
    private Integer is_enable;//状态
    private Integer sort_value;//排序
    private String icon;//菜单图标
    private String group_;//菜单分组
    private String parent_id;//父级菜单id
    private String create_user;//创建人id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date create_time;//创建时间
    private String update_user;//更新人id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date update_time;//更新时间
}
